package com.ayit.car.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 颜色表
 * @TableName colors
 */
@TableName(value ="colors")
@Data
public class Colors implements Serializable {
    /**
     * 颜色ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 颜色类型：0车身/1内饰
     */
    private Integer colorType;

    /**
     * 颜色名称
     */
    private String colorName;


    /**
     * 颜色图片URL
     */
    private String colorImageUrl;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}